package com.t2t.top.struct.$06adapter.ext;

/**
 * Created by yangpengfei on 2016/9/21.
 */
public class StreamDecoder {
    public int data;

    public int read() {
        return data;
    }

    public static StreamDecoder forInputStreamReader(InputStream in) {
        StreamDecoder sd = new StreamDecoder();
        sd.data = in.data;
        return sd;
    }
}
